Synthesizing Finite-State Protocols from Scenarios and Requirements

نویسندگان

  • Rajeev Alur
  • Milo M. K. Martin
  • Mukund Raghothaman
  • Christos Stergiou
  • Stavros Tripakis
  • Abhishek Udupa
چکیده

Scenarios, or Message Sequence Charts, offer an intuitive way of describing the desired behaviors of a distributed protocol. In this paper we propose a new way of specifying and synthesizing finite-state protocols using scenarios: we show that it is possible to automatically derive a distributed implementation from a set of scenarios augmented with a set of safety and liveness requirements, provided the given scenarios adequately cover all the states of the desired implementation. We first derive incomplete state machines from the given scenarios, and then synthesis corresponds to completing the transition relation of individual processes so that the global product meets the specified requirements. This completion problem, in general, has the same complexity, PSPACE, as the verification problem, but unlike the verification problem, is still hard (NP-complete) even for a constant number of processes. We present an algorithm for solving the completion problem, based on counterexampleguided inductive synthesis. We evaluate the proposed methodology for protocol specification and the effectiveness of the synthesis algorithm using the classical alternating-bit protocol, the VI cache-coherence protocol, and a consensus protocol.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Systematic Performance Evaluation of Multipoint Protocols

The advent of multipoint (multicast-based) applications and the growth and complexity of the In-ternet has complicated network protocol design and evaluation.In this paper, we present a method for automatic synthesis of worst and best case scenarios formultipoint protocol performance evaluation. Our method uses a fault-oriented test generation (FOTG)algorithm for searching t...

متن کامل

Using dependency diagrams in dynamic modelling of object-oriented systems

In defining the behaviour of a system, requirement specifications make use of a number of scenarios that are interrelated in many ways. Most of the current approaches, even though giving directions on how to translate them into state machines, treat each scenario separately. In this paper we propose a method of synthesizing state machines from multiple scenarios, with respect to the relationshi...

متن کامل

Performance Evaluation of Multipoint Protocols Using Systematic Scenario Synthesis A Case Study for Timer suppression Mechanisms

The advent of multipoint multicast based applications and the growth and complexity of the Internet has com plicated network protocol design and evaluation In this paper we present a method for automatic syn thesis of worst and best case scenarios for multipoint pro tocol performance evaluation Our method uses a fault oriented test generation FOTG algorithm for searching the protocol and system...

متن کامل

Synthesizing statecharts from multiple interrelated scenarios

In de£ning the behaviour of a system, requirement speci£cations make use of a number of scenarios that are interrelated in many ways. Current approaches, even though giving directions on how to translate them into statecharts, treat each scenario separately. In this paper we propose a method of synthesizing statecharts from multiple scenarios, with respect to the relationships among them. We de...

متن کامل

Protocol Design With Concolic Snippets

With the maturing of computer-aided verification technology, there is an emerging opportunity to develop design tools that can transform the way systems are designed. In this paper, we propose a new way to specify protocols using concolic snippets, that is, sample execution fragments that contain both concrete and symbolic values. While the purely symbolic extreme is simply an alternative repre...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014